package fields;
import game.Player;

public abstract class Field {

	private String name;
	protected int fieldNumber, fieldValue;
	
	public Field(int number, String name){
		/* Dette er konstrukt�oeren. Denne skal man bruge, saa man
		 kan lave et objekt.
		 */
		this.name = name;
		fieldNumber=number;
		fieldValue=0;
		}
	
	public abstract void landOnField(Player sp);
	
	public int getNumber()
	{
		return fieldNumber;
	}
	
	public int getFieldValue()
	{
		return fieldValue;
	}
	
	public String getName() {
		return name;
	}
	
	public String toString()
	{
		String str=fieldNumber+" "+name;
		return str;
	}
	
	public boolean isNotOwned()
	{
		return false;
	}
	
	public boolean isOwner(Player p)
	{
		return false;
	}

	public int getBonus() {
		// TODO Auto-generated method stub
		return 0;
	}
	
	public Player getOwnerObject() {
		return null;
	}

	public boolean canBuild() {
		return false;
	}

	public int getPrice() {
		return 0;
	}

	public boolean isHotelBuilt() {
		return false;
	}

	public int housesBuilt() {
		return 0;
	}

	public int getMortageValue() {
		return 0;
	}

	public void mortgage() {		
	}

	public int getHouseCost() {
		return 0;
	}

	public void sellHouse() {
	}

	public void build() {

	}

	public boolean getIsMortaged() {
		return false;
	}

	public int getBuyOutFromMortagePrice() {
		return 0;
	}

	public void buyOutFromMortage() {
	}

	public int getRent() {
		// TODO Auto-generated method stub
		return 0;
	}

	public void setRent(int choice) {
	}
	
}